<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    // 1.FormData是浏览器提供的内置对象
    // 2.以key/value的形式保存数据
    // 3.能够结合ajax进行数据提交
    const data = new FormData()
    console.log(data)
    data.append('name','起飞')
    data.append('skill','走吧')
    console.log(data.get('name'))
  </script>
</body>
</html>